/**
 * @Project FxSFS2x
 * @Author Tran Manh Hung
 * @Email: hungtmit@gmail.com | tmh@xwebgate.com
 * @Copyright © 2011 TMH. All rights reserved
 * @Createdate Mar 14, 2011
 * @Createtime 5:21:34 PM
 */

package com.gigalaxy.game.events
{
	import flash.events.Event;

	public class GameEvent extends Event
	{
		public static const CREATE_ROOM:String = "createRoom";

		public var hgData:Object;

		public function GameEvent(type:String, hgData:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);

			this.hgData = hgData;
		}

		override public function clone():Event
		{
			return new GameEvent(type, hgData, bubbles, cancelable);
		}
	}
}